package io.renren.modules.device.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.device.entity.TDeviceThreshold;
import io.renren.modules.device.entity.vo.DeviceThresholdVO;

import java.util.List;
import java.util.Map;

/**
 * 设备上下限阈值配置服务接口
 *
 * @author lhb
 * @date 2023/6/1
 */
public interface TDeviceThresholdService extends IService<TDeviceThreshold> {

    PageUtils queryPage(Map<String, Object> params);

    DeviceThresholdVO getDeviceThresholdInfo(String code);
    
    List<DeviceThresholdVO> getDeviceThresholdInfoByDeviceCategoryIdAndAlarmTypeId(Long deviceCategoryID, Long alarmTypeID);



}
